<?php
	/*****************************************************************
		GP Clinic - a web based Medical directory system
		Copyright (C) 2014 Kaizensynergy - Gemba360

		Author: Bless Bauson
		Key: bHkTy89wZ0DHyUiim0041rTxyBbP671aQwg327UtjfcrO
	*****************************************************************/
	
	//for form submit
	if($_SERVER['REQUEST_METHOD'] == "GET"){
		if(count($_GET)){
			foreach($_GET as $key => $val){
				$newkey = str_replace("amp;","",$key);
				$_GET[$newkey] = $val;
			}
		}
		if(isset($_GET['row']) && !empty($_GET['row'])){
			$table_def 	= array('filter' => 'id = '.$_GET['row']);
			$obj = new HealthFund($table_def);
			$obj->SQL_Delete();
		}
	}
?>